using System;
using System.Collections.Generic;
using System.Text;

namespace VisitWebSite
{

    public class clsMyBlog : TaskBase
    {
        protected List<clsTargetBlog> _LstTargetBlog = new List<clsTargetBlog>();
        protected MyBlogInfo _MyBlogInfo = new MyBlogInfo();
        protected string _Key = "";
        protected bool _IsLogin = false;


        private void CreateKey(MyBlogInfo mbi)
        {
            _Key = mbi.MyBlogUrl;
        }

        public List<clsTargetBlog> LstTargetBlog
        {
            get { return _LstTargetBlog; }
            set { _LstTargetBlog = value; }
        }

        public MyBlogInfo mMyBlogInfo
        {
            get { return _MyBlogInfo; }
            set {
                    _MyBlogInfo = value;
                    CreateKey(_MyBlogInfo);
                }
        }

        public string UID
        {
            get { return _MyBlogInfo.Uid; }
            set { _MyBlogInfo.Uid = value; }
        }

        public string KEY
        {
            get { return _Key; }
        }

        public bool IsLogin
        {
            get { return _IsLogin; }
            set { _IsLogin = value; }
        }
 

    }
}
